import numpy as np
import pickle
from matplotlib import pyplot as pp

#pp.ion()

fig = pp.figure()

ax = fig.get_axes()

wavelength,flux = np.genfromtxt('spectrum.txt',unpack=True)

pp.plot(wavelength,flux)

pp.show()

print "done"
